 <style type="text/css">
        @import "/JediMusic/smarty/templates/editarmp3.css";
 </style>

<div class="editaresq">
<a href="./confPlaylists.php">Enrere</a>
</div>
<div class="editardre">
	<table>
		<tr>
			<td> <p><b>{$nplaylist}</b></p> </td>
		</tr>
		{if $songs == false}
			{if $playlist == false} 
			{else}
				{foreach from= $playlist item=nplay}
				<tr>
					<td> <a href="./editplaylist.php?npl={$nplay}">{$nplay}</a> </td>
				<tr>
				{/foreach}

			{/if}
		{else}
              
				{foreach from= $songs item=nplay}
				<tr>
					<td> <a href="./editplaylist.php?ns={$nplay}">{$nplay}</a> </td>
				<tr>
				{/foreach}
			
		{/if}
		<tr>
			<td> <a href="./editplaylist.php">Tornar a playlists</></td>
		</tr>
		{if $get == true}
			<tr>
				<td>
                    <form action="linkSongIPlaylist.php" method="post">
						<input type="submit" name="afegirSongAPL" value="Afegir nova Song">
					</form>
                    <form action="editplaylist.php" method="post">
                         <input type="submit" name="delplay" value="Eliminar playlist">
                    </form>
				</td>
			</tr>
		{/if}
	</table>
	
</div>